package com.gitee.wsl.transform.encode.pinyin.trie

import com.gitee.wsl.transform.encode.pinyin.interval.Interval
import com.gitee.wsl.transform.encode.pinyin.interval.Intervalable


/**
 * Responsible for tracking the bounds of matched terms.
 */
class Emit(start: Int, end: Int, val keyword: String) : Interval(start, end), Intervalable {
    override fun toString(): String {
        return super.toString() + "=" + this.keyword
    }
}
